package cn.school.eneity;

import java.io.Serializable;
import java.sql.Date;

public class ExamResult implements Serializable {
	private long id;
	private Date exam_date;
	private long sb_id;
	private long st_id;
	private float score;
	private Subject subject;
	private Student student;

	public Student getStudent() {
		return student;
	}

	public void setStudent(Student student) {
		this.student = student;
	}

	public Subject getSubject() {
		return subject;
	}

	public void setSubject(Subject subject) {
		this.subject = subject;
	}

	public ExamResult() {
	}

	@Override
	public String toString() {
		return "ExamResult [id=" + id + ", exam_date=" + exam_date + ", sb_id=" + sb_id + ", st_id=" + st_id
				+ ", score=" + score + ", subject=" + subject + ", student=" + student + "]";
	}

	public ExamResult(Date exam_date, long sb_id, long st_id, float score, Subject subject, Student student) {
		super();
		this.exam_date = exam_date;
		this.sb_id = sb_id;
		this.st_id = st_id;
		this.score = score;
		this.subject = subject;
		this.student = student;
	}

	public ExamResult(long id, Date exam_date, long sb_id, long st_id, float score, Subject subject, Student student) {
		super();
		this.id = id;
		this.exam_date = exam_date;
		this.sb_id = sb_id;
		this.st_id = st_id;
		this.score = score;
		this.subject = subject;
		this.student = student;
	}

	public ExamResult(long id, Date date, long sb_id, long st_id, float score) {
		super();
		this.id = id;
		this.exam_date = date;
		this.sb_id = sb_id;
		this.st_id = st_id;
		this.score = score;
	}

	public ExamResult(long id2, Date date, int sb_id2, long st_id2, long score2) {
		// TODO 自动生成的构造函数存根
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public Date getExam_date() {
		return exam_date;
	}

	public void setExam_date(Date exam_date) {
		this.exam_date = exam_date;
	}

	public long getSb_id() {
		return sb_id;
	}

	public void setSb_id(long sb_id) {
		this.sb_id = sb_id;
	}

	public long getSt_id() {
		return st_id;
	}

	public void setSt_id(long st_id) {
		this.st_id = st_id;
	}

	public float getScore() {
		return score;
	}

	public void setScore(float score) {
		this.score = score;
	}

}
